package com.example.volleytest.datamodel;

import android.util.Log;

public class Friend {
    private long uid;
    private String first_name;
    private String last_name;
    private String domain;
    private String nickname;
    private String photo_medium;
    private int online;
    private long user_id;

    public Friend() {
        uid = 0;
        first_name= "";
        last_name = "";
        nickname = "";
        domain = "";
        photo_medium = "";
        online = 0;
        user_id = 0;
    }

    public long getUid() {
        return uid;
    }

    public String getFirstName() {
        return first_name;
    }

    public String getLastName() {
        return last_name;
    }

    public String getDomain() {
        return domain;
    }

    public String getPhotoMedium() {
        return photo_medium;
    }

    public boolean isOnline() {
        Log.d("KVEST_TAG", "online=" + online);
        return (online != 0);
    }

    public long getUserId() {
        return user_id;
    }

    public String getNickname() {
        return nickname;
    }
}
